package co.edu.eam.taller.mecanico.entidades;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class Detalle_VisitaPK extends Object implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(name="id_repuesto",nullable=false, insertable=false, updatable=false)
    private long id_Repuesto;
    @Column(name="id_visita",nullable=false, insertable=false, updatable=false)
    private long id_VISITA;
    
    
    
    public Detalle_VisitaPK() {
		super();
	}

	public Detalle_VisitaPK(long id_Repuesto, long id_VISITA) {
		super();
		this.id_Repuesto = id_Repuesto;
		this.id_VISITA = id_VISITA;
	}

	@Override
    public boolean equals(Object arg0) {
    	return false;
    };
 
    @Override
    public int hashCode() {
    	// TODO Auto-generated method stub
    	return super.hashCode();
    }
}
